package jp.dodododo.dao.util;

import java.sql.SQLException;
import java.sql.Statement;

import jp.dodododo.dao.exception.SQLRuntimeException;

/**
 * 
 * @author Satoshi Kimura
 */
public abstract class StatementUtil {

	public static void close(Statement s) {
		try {
			if (s == null) {
				return;
			}
			s.close();
		} catch (SQLException e) {
			throw new SQLRuntimeException(e);
		}
	}
}
